package common

import (
	"bytes"
	"encoding/json"
)

func JsonDump(Data interface{}) string {
	var str bytes.Buffer
	Marshal, _ := json.Marshal(Data)
	_ = json.Indent(&str, Marshal, "", "    ")
	return str.String()
}
